import { ref } from 'vue'
export function usePageSearch() {
  const pageContentRef = ref()
  const queryBtnClick = (queryInfo) => {
    pageContentRef.value?.getPageData(queryInfo)
  }
  // 重置
  const formContentRef = ref()
  const handleResetClick = () => {
    formContentRef.value?.restData()
  }
  return [pageContentRef, queryBtnClick, formContentRef, handleResetClick]
}
